-- GENERATED SPELL FOR [Dampscale Devourer] --


function spell0_18463(pUnit, Event) --@Chomp,n/a--
pUnit:FullCastSpellOnTarget(32906,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18463', 559, 1)
end

function Sorts_18463(pUnit, Event)
local choix_sorts_18463 = math.random(0, 0)
if choix_sorts_18463 == 0 then
pUnit:RegisterEvent('spell0_18463', 1, 1)
end
end

function mob18463_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18463', math.random(1500, 3000), 1)
end

function mob18463_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18463_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18463_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18463, 1, 'mob18463_Action')
RegisterUnitEvent(18463, 2, 'mob18463_Leave')
RegisterUnitEvent(18463, 3, 'mob18463_Kill')
RegisterUnitEvent(18463, 4, 'mob18463_Die')
